<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Model as BaseModel;

class Model extends BaseModel
{
    /**
     * 基础Model
     */

    public $timestamps = false;
    public static $classlist=[];
    public static function getModel(){
        $key=get_called_class();
        if(isset(self::$classlist[$key])){
            return self::$classlist[$key];
        }
        self::$classlist[$key]=new $key;
        return self::$classlist[$key];
       // var_dump(get_called_class());exit;
    }
}